home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 11 / AMUG BBS in a Box Volume XI (April 1994) (MacWizards).iso / Sysops / SitC Lister 2.0 / SitC Lister 2.0 Docs < prev    next >
Encoding:
Text File  |  1994-01-13  |  11.0 KB  |  281 lines  |  [ttro/ttxt]

  1.  
  2.  
  3.  
  4.  
  5. SitC Lister 2.0
  6. © 1993, 1994 by Paul Lemieux
  7.  
  8. Description:
  9.  
  10. SitC Lister is a utility for TeleFinder, FirstClass, and NovaLink Professional sysops, which allows the listing of their BBS file directories into text files, complete with descriptions.  This is done by extracting the SitC=0 resource out of the individual files.  SitC Lister begins in a source directory (hereafter called the Sources) of your choice and recursively lists all files and subdirectories contained in that directory. A user specified header and footer is applied to the output files (hereafter called the Outputs).  The user has the option to write the file's path, the description, size, and date modified.  The user can filter files from being written to the Output, based on age and/or size.  The Output will be written to the user-specified location, overwriting any existing Outputs.  Each Output maintains its own list of Sources, so that a Sysop can set up many different file listings and use the “Make During Tabby Events” and the “Make While Interactive” options to control when or if the Outputs are created.
  11.  
  12. What is it good for?
  13.  
  14. Lots of things!  Here are a few:
  15.     • creating online library listings with descriptions. 
  16.     • creating the magic FILES and ALLFILES listing that FIDONet uses for File Requests. 
  17.     • creating the Tabby "Request Directories" file. 
  18.     • creating the magic NEWFILES file can be created, listing files only of a certain age. 
  19.     • filtering large files out of your file request lists.
  20.  
  21. Installation:
  22.  
  23. If you want to use SitC Lister with Tabby, you must put it in the same folder with all the other Tabby modules.  If you don’t run Tabby, you can put SitC Lister anywhere you want.  SitC Lister will run on a locked disk, but the startup volume must not be locked, since SitC Lister makes frequent trips to the Preferences Folder.
  24.  
  25. First Time Launching:
  26.  
  27. The first time SitC Lister is launched, it will create its preferences file “SitC Lister2.prefs” in the Preferences folder.  The preference file is named differently than version 1.x was, so it won’t conflict with earlier versions of SitC Lister.   In addition, SitC Lister will create a “DefaultHeader” and a “DefaultFooter” file in the preferences folder.  They will be placed at the top and bottom of all output files, and will have some default text in them.  You can, of course, edit the DefaultHeader and DefaultFooter files with a conventional text editor.
  28.  
  29. Configuring SitC Lister:
  30.  
  31. Use the “Text File Type…” item in the Options menu to set what creator attributes all Outputs will have.  The default is “ttxt” (TeachText).  The following figure shows the dialog box used to select the creator type.
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42. Use the Configure… item in the Options menu to create new Outputs and Sources.  The following figure illustrates what the Configure window looks like.
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62. Once the Configure window is brought up, menu items in the Outputs and Sources menus will become active at times when they are appropriate.  For example, in the above figure, the Output entitled "ALLFILES" is selected, which brings up its associated list of Sources in the right scrolling list.  In that list, the "MPW" Source is selected.  Following is a list of the menus and what they do:
  63.  
  64. Edit Menu
  65.     The items in the edit menu perform their normally
  66.     expected behavior depending on what is selected.  If
  67.     an Output is selected, but no Sources are selected,
  68.     then the Cut, Copy, Paste, and Clear operate on the
  69.     currently selected Output.  If a Source is selected,
  70.     then Cut, Copy, Paste, and Clear operated on the
  71.     currently selected Source.  This enables the user
  72.     to quickly set up similar configurations for batch
  73.     or interactive operations.
  74.  
  75. Options Menu
  76.  
  77. Configure…
  78.     Configure the Outputs and Sources.
  79.  
  80. Text File Type…
  81.     Allows you to set the creator type of all Outputs.
  82.     
  83. QuickList…
  84.     This option will generate a file listing without any
  85.     configuration.  You will be prompted for a Source
  86.     path and an Output file, and a listing will be created
  87.     using all default options (Mac Text, no headers or
  88.     footers, No Paths, Size in Bytes, no Date/Time stamp,
  89.     no Date, Write Description).  Note:  the QuickList
  90.     option is only available to registered owners of
  91.     SitC Lister.
  92.  
  93. Outputs Menu
  94.  
  95. New Output File…
  96.     Creates a new Output with an empty list of Sources.
  97.  
  98. Change Output File…
  99.     Only applies to the currently selected Output.  Renames
  100.     the currently selected Output to the users choice.  The 
  101.     old Output file will not be deleted, so you will need to 
  102.     take care of that.
  103.  
  104. Select Header…
  105.     Only applies to the currently selected Output.  Selects a 
  106.     different file for the header.  The Output defaults to the 
  107.     DefaultHeader in the Preferences folder.
  108.  
  109. Select Footer…
  110.     Only applies to the currently selected Output.  Selects 
  111.     a different file for the footer.  The Output defaults to 
  112.     the DefaultFooter in the Preferences folder.
  113.  
  114. When to Create (heirarchichal menu)
  115.  
  116.     Make During Tabby Events
  117.         Only applies to the currently selected Output.  If 
  118.         SitC Lister is launched in the presence of a launch.next 
  119.         file, then all Outputs with this flag turned on will be 
  120.         created, and then the next program in the sequence will 
  121.         be launched.
  122.  
  123.     Make While Interactive
  124.         Only applies to the currently selected Output.  If the 
  125.         “Go” item in the Options menu is selected, then all 
  126.         Outputs with this flag turned on will be created.
  127.  
  128. File Types (heirarchichal menu)
  129.  
  130.     Mac Text
  131.         Only applies to the currently selected Output.  The 
  132.         Output will be a conventional Mac text file with a 
  133.         carriage return separating lines.
  134.  
  135.     PC Text
  136.         Only applies to the currently selected Output.  
  137.         The Output will be an MS-DOS type text file with 
  138.         a carriage return/linefeed combination separating lines.  
  139.         Note that if you use this option, you will need to 
  140.         convert any headers and footers to also contain linefeeds.  
  141.         In other words, SitC Lister writes the headers and footers 
  142.         without modifying them.
  143.  
  144. Date/Time Stamp
  145.     Only applies to the currently selected Output.  A line of 
  146.     text containing the current Date and Time will be placed 
  147.     in the Output directly after the Header.
  148.  
  149. Sources Menu
  150.  
  151. Source Directories (heirarchichal menu)
  152.  
  153.     Select Source Directory…
  154.         Only applies to the currently selected Output.  Creates 
  155.         a new Source
  156.  
  157.     Change Source Directory…
  158.         Only applies to the currently selected Source.  Changes 
  159.         the input directory.
  160.  
  161. Writing File Paths (heirarchichal menu)
  162.  
  163.     No Paths
  164.         Only applies to the currently selected Source.  No path 
  165.         information is written to the Output file.  Only the 
  166.         file’s name is written.  This is the default setting.
  167.  
  168.     Some Paths
  169.         Only applies to the currently selected Source.  Only the 
  170.         file’s name is written to the output, but the directory 
  171.         the files are found in is listed at the top of the list 
  172.         of the files in each directory and subdirectory.
  173.  
  174.     All Paths
  175.         Only applies to the currently selected Source.  No 
  176.         directory header information is listed, but the complete 
  177.         path to each file is written to the Output.
  178.  
  179.     Only Paths
  180.         Only applies to the currently selected Source.  Only 
  181.         the folder’s complete paths are written to disk.  This 
  182.         option is really for creating the Tabby “Request 
  183.         Directories” file.  You might want to define an empty 
  184.         header and empty footer file for this option.  All of 
  185.         the other Source options are ignored if this option is 
  186.         selected, since all of the other options only apply to 
  187.         files and not folders.
  188.  
  189. Writing File Sizes (heirarchichal menu)
  190.  
  191.     No Sizes
  192.         Only applies to the currently selected Source.  No 
  193.         file size is written on the line after the file’s 
  194.         name.
  195.  
  196.     Size in Bytes
  197.         Only applies to the currently selected Source.  The 
  198.         file’s size in bytes is written on the line after 
  199.         the file’s name.  This is the default setting.
  200.  
  201.     Size in Kilobytes
  202.         Only applies to the currently selected Source.  The 
  203.         file’s size in kilobytes is written on the line 
  204.         after the file’s name.
  205.  
  206. Write Descriptions
  207.     Only applies to the currently selected Source.  The file’s 
  208.     description will be written to the Output.  If no SitC=0 
  209.     resource is found, then the default text (No description 
  210.     available) is written.
  211.  
  212. Write Date Modified
  213.     Only applies to the currently selected Source.  The date 
  214.     the file was last modified will be written after the 
  215.     Name and Size (if turned on).
  216.  
  217. File Filters…
  218.     Only applies to the currently selected Source.  This 
  219.     option will bring up a dialog box that allows you to 
  220.     selectively filter files from the listing based on their 
  221.     date or size.  Files can be filtered based on being larger 
  222.     or smaller than a certain size, and/or by being older or 
  223.     newer than a certain date.  For example, some sysops 
  224.     might want to use this feature to create a NEWFILES list 
  225.     that contains all files less than 30 days old, and 
  226.     smaller than 300K (to restrict the sizes of FREQed files).
  227.     The following figure shows the file filter dialog box.
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244. Advanced Information
  245.  
  246. If anyone is not squeamish about using ResEdit, most of the text that the users see is contained in the resource fork of SitC Lister (unless I spaced something out in the interest of getting something running and then forgot it).  By hacking SitC Lister with ResEdit and changing the STR# resources, minor modifications to the Outputs can be made.  Note:  ResEdit is a powerful program, capable of totally messing up the operation of SitC Lister.  Only hack on a copy.  Here is a list of what is in the STR# resources that might be of interest to users.
  247.  
  248. STR# ID 130 - the names of the default header and footer files, and the text that is written into the default header and footer files if none are present in the Preferences Folder.
  249.  
  250. STR# ID 131 - the labels that are written to the output files, such as the word "Name: " that shows up on the line prior to the file's name.
  251.  
  252. STR# ID 132 - the information that gets written to the Tabby log.
  253.  
  254. Copyright and Other Information:
  255.  
  256. SitC Lister is copyright © 1993, 1994 by Paul Lemieux.  It was developed using MPW Object Pascal, MPW C, and Prototyper.  The launch.next code was given to me (and gratefully accepted) by Chris Silverberg, ported from Think C to MPW C and linked into the other Pascal code.  The StandardGetFolder code was culled from Ken Kirksey (kkirksey1@aol.com) -- thanks Ken!.  Please send bug reports and suggestions via EMail if you can.  I can send you the registration file via EMail also, or can tell you how to create it over the phone.  SitC Lister has been tested on an LC II, PowerBook 170, and an SE30 running System 7.1.
  257.  
  258. What does it cost?
  259.  
  260. SitC Lister is shareware, with a $25 fee.  Bug reports and suggestions are always welcome.
  261.  
  262. SitC Lister may only be distributed by Arizona Macintosh Users Group on CD-ROM or media over 2 Mb in size.
  263.  
  264. Shareware $25
  265. Paul Lemieux
  266. 905 Union Street
  267. Cary, NC 27511
  268. AOL: PaulLX
  269. Internet: lpl@epavax.rtpnc.epa.gov
  270. AppleSeeds BBS
  271.         919-481-4896 (USR HST Dual Std 14.4)
  272.         919-469-5867 (Zoom V.32bis 14.4)
  273.         FIDONet 1:151/152
  274.  
  275. Limitations:
  276.  
  277. 1)  Requires System 7.
  278. 2)  Limit of 32 Output files, each with 32 Sources.
  279. 3)    Non-registered users can only create 2 Outputs each with 2 Sources.
  280. 4)    QuickList is only available to registered users.
  281.